package com.yonyou.cyxdms.basedata.service.entity.templateconf;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonyou.cyxdms.framework.bean.entity.base.DMSBasePO;

/**
 * <p>
 * 动态页面模板配置信息
 * </p>
 *
 * @author renwd
 * @since 2019-09-23
 */
@TableName("tc_page_template_conf")
public class PageTemplateConfPO extends DMSBasePO<PageTemplateConfPO> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "CONF_ID", type = IdType.AUTO)
    private Long confId;
    /**
     * 配置代码(1572)
     */
    @TableField("CONF_CODE")
    private Integer confCode;
    /**
     * 配置名称
     */
    @TableField("CONF_NAME")
    private String confName;
    /**
     * 配置类型TC_CODE.TYPE=1069,例:关爱对象范围
     */
    @TableField("CONF_TYPE")
    private Integer confType;
    /**
     * 数据类型TC_CODE.TYPE=1068,例:下拉框,文本框,日期框
     */
    @TableField("DATA_TYPE")
    private Integer dataType;
    /**
     * 主标签属性html
     */
    @TableField("TAG_ATTRIBUTE")
    private String tagAttribute;
    /**
     * 表字段名称
     */
    @TableField("FIELD_NAME")
    private String fieldName;

    public PageTemplateConfPO() {
        super();
    }

    public Long getConfId() {
        return confId;
    }

    public void setConfId(Long confId) {
        this.confId = confId;
    }

    public Integer getConfCode() {
        return confCode;
    }

    public void setConfCode(Integer confCode) {
        this.confCode = confCode;
    }

    public String getConfName() {
        return confName;
    }

    public void setConfName(String confName) {
        this.confName = confName;
    }

    public Integer getConfType() {
        return confType;
    }

    public void setConfType(Integer confType) {
        this.confType = confType;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getTagAttribute() {
        return tagAttribute;
    }

    public void setTagAttribute(String tagAttribute) {
        this.tagAttribute = tagAttribute;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    @Override
    public String toString() {
        return "PageTemplateConfPO{" +
                "confId=" + confId +
                ", confCode=" + confCode +
                ", confName=" + confName +
                ", confType=" + confType +
                ", dataType=" + dataType +
                ", tagAttribute=" + tagAttribute +
                ", fieldName=" + fieldName +
                "}";
    }

}
